package com.zhongkun.datahome.service.req.qry.material;

import com.zhongkun.datahome.service.req.qry.assets.AppDataAssetsQry;
import lombok.Data;

/**
 * @Author: lifengsheng
 * @Date: 2025/5/15 14:06
 * @Desc
 */
@Data
public class HouseMaterialQry {
    private Long houseId;

    private String materialName;

    public static HouseMaterialQry of(AppDataAssetsQry appDataAssetsQry) {
        HouseMaterialQry qry = new HouseMaterialQry();
        qry.setHouseId(appDataAssetsQry.getHouseId());
        qry.setMaterialName(appDataAssetsQry.getMaterialName());
        return qry;
    }
}
